-- GENERATED SPELL FOR [Illidari Painlasher] --


function spell0_19800(pUnit, Event) --@Lash of Pain,n/a--
pUnit:FullCastSpellOnTarget(15968,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19800', 620, 1)
end

function Sorts_19800(pUnit, Event)
local choix_sorts_19800 = math.random(0, 0)
if choix_sorts_19800 == 0 then
pUnit:RegisterEvent('spell0_19800', 1, 1)
end
end

function mob19800_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19800', math.random(1500, 3000), 1)
end

function mob19800_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19800_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19800_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19800, 1, 'mob19800_Action')
RegisterUnitEvent(19800, 2, 'mob19800_Leave')
RegisterUnitEvent(19800, 3, 'mob19800_Kill')
RegisterUnitEvent(19800, 4, 'mob19800_Die')
